function start_iosslider () {
	$('.iosSlider').iosSlider({
		desktopClickDrag: true,
		snapToChildren: true,
		infiniteSlider: true,
		snapSlideCenter: true,
		navSlideSelector: '.sliderContainer .slideSelectors .item',
		navPrevSelector: '.sliderContainer .slideSelectors .prev',
		navNextSelector: '.sliderContainer .slideSelectors .next',
		onSlideComplete: slideComplete,
		onSliderLoaded: sliderLoaded,
		onSlideChange: slideChange,
		autoSlide: true,
		scrollbar: true,
		scrollbarContainer: '.sliderContainer .scrollbarContainer',
		scrollbarMargin: '0',
		scrollbarBorderRadius: '0',
		keyboardControls: true
	});
}

function slideChange(args) {

	$('.sliderContainer .slideSelectors .item').removeClass('selected');
	$('.sliderContainer .slideSelectors .item:eq(' + (args.currentSlideNumber - 1) + ')').addClass('selected');

}

function slideComplete(args) {

	if(!args.slideChanged) return false;

}

function sliderLoaded(args) {

	slideChange(args);

}
